﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Pages">
    <File Path="Pages\default.aspx" Url="default.aspx" Type="Ghostable" DoGUIDFixUp="TRUE">
      <AllUsersWebPart WebPartZoneID="Right" WebPartOrder="1"><![CDATA[
        <webParts>
          <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
            <metaData>
              <type name="SPConnections.SandboxingDemo.WebParts.DemoPart.DemoPart, $SharePoint.Project.AssemblyFullName$" />
              <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
              <Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="22a17cf7-692a-4a73-8001-dea59b9ee9f4" />
            </metaData>
            <data>
              <properties>
                <property name="Title" type="string">Custom Web Part</property>
              </properties>
            </data>
          </webPart>
        </webParts>]]>        
      </AllUsersWebPart>
      <AllUsersWebPart WebPartZoneID="Right" WebPartOrder="2"><![CDATA[
        <webParts>
          <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
            <metaData>
              <type name="Microsoft.SharePoint.WebPartPages.XsltListViewWebPart, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
              <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
            </metaData>
            <data>
              <properties>
                <property name="Title" type="string">Default Web Part</property>
                <property name="ListName" type="string">$ListId:DemoPages;</property>
                <property name="XslLink" type="string">Style Library/DemoSite.xsl</property>
              </properties>
            </data>
          </webPart>
        </webParts>]]>
      </AllUsersWebPart>
    </File>
    <File Path="Pages\default.aspx" Url="MasterDetail.aspx" Type="Ghostable" DoGUIDFixUp="TRUE">
      <NavBarPage ID="1002" Name="Master Detail" Position="End" />
      <View ID="{088ca4b1-e4f3-4f0f-8904-0943b30b696f}"
            List="ParentItems"
            WebPartZoneID="Left"
            WebPartOrder="1"
            BaseViewID="1" />
      <View ID="{5df7d5a6-9637-472a-b793-0fd7ee560c8a}"
            List="ChildItems"
            WebPartZoneID="Left"
            WebPartOrder="2"
            BaseViewID="1" />
      <WebPartConnection ID="MyConnection"
                         ProviderID="{088ca4b1-e4f3-4f0f-8904-0943b30b696f}"
                         ProviderConnectionPointID="DFWP Row Provider ID"
                         ConsumerID="{5df7d5a6-9637-472a-b793-0fd7ee560c8a}"
                         ConsumerConnectionPointID="DFWP Filter Consumer ID">
        <WebPartTransformer Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
                            Namespace="Microsoft.SharePoint.WebPartPages">
          <![CDATA[<WebPartPages:SPRowToParametersTransformer ProviderFieldNames="Title" ConsumerFieldNames="ParentItem"/>]]>
        </WebPartTransformer>
      </WebPartConnection>
    </File>
  </Module>
</Elements>